package com.linksfield.topup.entity.interfaces.planmanage.editpageoperate.request;

import com.linksfield.topup.entity.interfaces.planmanage.createserviceplan.request.RequestServicePlanSpecAndPriceList;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 在编辑页面上面再次提交“确认修改” 或者“上架”时：
 * request：前端 RequestEditPageOperate
 * response：后端 ResponseEditPageOperate
 *
 * @author: lm
 * @date: 2019-11-26 15:40
 */

@Data
public class RequestEditPageOperate implements Serializable {

    private static final long serialVersionUID = -1023072198533422089L;

    @ApiModelProperty(value = "接口业务类型 。此字段不可传空字符串", example = "createServicePlan", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "中英文请求标志：cn/en 。此字段不可传空字符串", example = "cn", dataType = "String")
    private String lang;

    @ApiModelProperty(value = "定义接口的请求版本，本次接口值：3.0 。此字段不可传空字符串", example = "1.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "新建页面的操作行为：1-确认修改；2-上架。此字段不可传空字符串 ", example = "1", dataType = "String")
    private String operateStatus;

    @ApiModelProperty(value = "企业唯一编码。此字段不可传空字符串 ", example = "P000270", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "套餐编码。此字段不可传空字符串", example = "PACKAGE20180428000007", dataType = "String")
    private String packageCode;

    @ApiModelProperty(value = "套餐语言：0- 汉语（中文）;1- 英语;2- 西班牙语;3- 法语4- 葡萄牙语;5- 印度语;6- 德语;7-日语;8- 韩语9- 阿拉伯语。此字段不可传空字符串", example = "0", dataType = "String")
    private String languageType;

    //@ApiModelProperty(value = "企业H5服务方案类型：1-查询流量；2-联系商家（app进入充值）；3-跳往商家（web方自己的订购平台）；4-直接订购（领科公版H5订购）", example = "1", dataType = "String")
    //private String configType;

    @ApiModelProperty(value = "方案编码。此字段不可传空字符串", example = "1", dataType = "String")
    private String planCode;

    @ApiModelProperty(value = "新建的套餐编码。此字段不可传空字符串", example = "", dataType = "String")
    private String servicePlanCode;

    @ApiModelProperty(value = "套餐上架的名称。此字段不可传空字符串", example = "中国测试套餐", dataType = "String")
    private String servicePlanShowName;

    //@ApiModelProperty(value = "套餐图片", example = "中国测试套餐", dataType = "String")
    //private String servicePlanPic;

    @ApiModelProperty(value = "套餐简介。此字段不可传空字符串", example = "中国测试套餐是", dataType = "String")
    private String servicePlanShortDesc;

    @ApiModelProperty(value = "套餐详情，富文本编辑内容。此字段不可传空字符串", example = "中国测试套餐是", dataType = "String")
    private String servicePlanDetailsDesc;

    @ApiModelProperty(value = "套餐类型： 0-日程套餐； 1-日流量套餐； 2-月流量套餐； 3-季度流量套餐； 4-半年流量套餐； 5-年流量套餐；。此字段不可传空字符串", example = "2", dataType = "String")
    private String packageType;

    @ApiModelProperty(value = "规格与价格：1月多少多少钱。此字段不可传空", example = "", dataType = "Object")
    private List<RequestServicePlanSpecAndPriceList> servicePlanSpecAndPrice;
}
